package cn.seqdata.cxf.converter;

import javax.ws.rs.ext.ParamConverter;

import org.joda.time.LocalTime;

public class LocalTimeConverter implements ParamConverter<LocalTime> {

	@Override
	public LocalTime fromString(String value) {
		return LocalTime.parse(value);
	}

	@Override
	public String toString(LocalTime value) {
		return value.toString();
	}
}
